#ifndef HASHMAP_H
#define HASHMAP_H

#include <QHash>
#include <QString>
#include <QTextStream>
#include "error.h"

void BaseMapInit();
int PersistenceInMemory();
int WatchDogCheckHash(const QString *key,const QString *value);
int WatchDogCheckKey(const QString * key);
QString GetHashValueByKey(QHash<QString,QString> *map,const QString *key);
int SetHash(QHash<QString,QString> *map,const QString *key,const QString *value);
int DelHashByKey(QHash<QString,QString> *map,const QString *key);
int UpdateHashByKey(QHash<QString,QString> *map,const QString *key,const QString *value);
int ShowHashList(QHash<QString,QString> *map,const int size);
#endif // MAP_H
